aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/article/[slug].tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/article/[slug].tsx')
-rw-r--r--src/pages/article/[slug].tsx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx
index c72d48e..5e75ae7 100644
--- a/src/pages/article/[slug].tsx
+++ b/src/pages/article/[slug].tsx
@@ -81,7 +81,7 @@ const ArticlePage: NextPageWithLayout<ArticlePageProps> = ({
thematics:
thematics &&
thematics.map((thematic) => (
- <Link key={thematic.id} href={`/thematique/${thematic.slug}`}>
+ <Link key={thematic.id} href={thematic.url}>
{thematic.name}
</Link>
)),
@@ -99,11 +99,7 @@ const ArticlePage: NextPageWithLayout<ArticlePageProps> = ({
label: footerMetaLabel,
value: topics.map((topic) => {
return (
- <ButtonLink
- key={topic.id}
- target={`/sujet/${topic.slug}`}
- className={styles.btn}
- >
+ <ButtonLink key={topic.id} target={topic.url} className={styles.btn}>
{topic.logo && <ResponsiveImage {...topic.logo} />} {topic.name}
</ButtonLink>
);